import { AppPage } from './app.po';

describe('workspace-project App', () => {
  let page: AppPage;

  beforeEach(() => {
    page = new AppPage();
  });

  it('should display 图书列表', () => {
    page.navigateTo();
    expect(page.getParagraphText()).toEqual('图书列表');
  });
  it('should display PYTHON Details', () => {
    page.navigateTo();
    expect(page.getBookListTitle()).toEqual('PYTHON Details');
  });
  it('should display book id', () => {
    // page.navigateTo();
    page.getBookID().then((val)=>{expect(val).toEqual('1');});
  });

});
